package cn.liuhuan1.blogsModel.dao;

import cn.liuhuan1.webModelBean.bo.AfterUserBo;
import cn.liuhuan1.webModelBean.vo.AfterUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: liuhuan
 * @Date: 2021/2/19 - 02 - 19 - 15:07
 * @Description:
 * @version: 1.0
 */
@Mapper
public interface AfterUserDao {

    /**
     * 后台登陆
     * @param userName
     * @param password
     * @return
     */
    public List<AfterUserVo> afterLogin(@Param("account") String userName, @Param("password") String password);

    /**
     * 获取登陆信息
     * @param id
     * @return
     */
    public AfterUserVo afterInfo(String id);

    /**
     * 修改登陆信息
     * @param afterUserBo
     */
    void updateLogin(AfterUserBo afterUserBo);
}
